package com.zyt.mall.product.feign;

import com.zyt.common.to.SkuHasStockVo;
import com.zyt.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
@FeignClient("ware")
public interface WareFeignService {
    @PostMapping("ware/waresku/hasstock")
    //查询sku是否有库存
     R getSkuHasStock(@RequestBody List<Long> skuIds);
}
